package org.xteam.camllight;

public class ExecTrailer {
	
	public static final int EXEC_MAGIC = 0x434c3037;
	public static final int TRAILER_SIZE = 20;
	
	public int code_size;
	public int data_size;
	public int symbol_size;
	public int debug_size;
	public int magic;
	
	public void read(IStream stream) {
		code_size = stream.readUI32BE();
		data_size = stream.readUI32BE();
		symbol_size = stream.readUI32BE();
		debug_size = stream.readUI32BE();
		magic = stream.readUI32BE();
	}
	
	public void write(IStream stream) {
		throw new RuntimeException("not implemented");
	}
	
}
